/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.0.0
 * svn version: exported
 * Options:   --check-global -s 869
 * Seed:      869
 */

#include "random_runtime.h"


long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
 volatile int32_t g_2[5] = {5L, 5L, 5L, 5L, 5L};


/* --- FORWARD DECLARATIONS --- */
uint16_t  func_1(void);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_2
 * writes: g_2
 */
uint16_t  func_1(void)
{ /* block id: 0 */
    uint16_t l_5 = 0x51DBL;
    for (g_2[0] = 0; (g_2[0] >= 0); g_2[0] = safe_add_func_uint64_t_u_u(g_2[0], 5))
    { /* block id: 3 */
        if (g_2[3])
            break;
    }
    return l_5;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i;
    func_1();
    printf("checksum g_2[0] = %d\n", g_2[0]);
    printf("checksum g_2[1] = %d\n", g_2[1]);
    printf("checksum g_2[2] = %d\n", g_2[2]);
    printf("checksum g_2[3] = %d\n", g_2[3]);
    printf("checksum g_2[4] = %d\n", g_2[4]);
    printf("checksum g_2[0] = %d\n", g_2[0]);
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 2

XXX max expression depth: 0
breakdown:
   depth: 0, occurrence: 1

XXX total number of pointers: 0

XXX times a non-volatile is read: 1
XXX times a non-volatile is write: 0
XXX times a volatile is read: 2
XXX    times read thru a pointer: 0
XXX times a volatile is write: 1
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 1
XXX percentage of non-volatile access: 25

XXX forward jumps: 0
XXX backward jumps: 0

XXX stmts: 7

XXX percentage a fresh-made variable is used: 50
XXX percentage an existing variable is used: 50
********************* end of statistics **********************/

